﻿<UserControl x:Class="SilverDesigner.VideoPlayer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>
        <Image Source="Images\VideoObjectIcon.png" />
        <MediaElement x:Name="mediaElement" AutoPlay="False" Grid.RowSpan="2" Stretch="Fill" />
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button x:Name="btnPlay" Margin="5" Content="Play" Width="40" Click="btnPlay_Click" />
            <Button x:Name="btnPause" Margin="5" Content="Pause" Width="40" Click="btnPause_Click" />
            <Button x:Name="btnRewind" Margin="5" Content="Stop" Width="40" Click="btnRewind_Click" />
        </StackPanel>
    </Grid>
</UserControl>
